# 数据库的配置变量
HOSTNAME = '127.0.0.1'
PORT     = '3306'
DATABASE = 'zlckqa'
USERNAME = 'root'
PASSWORD = 'jammy'
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}'.format(USERNAME,PASSWORD,HOSTNAME,PORT,DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI
SQLALCHEMY_TRACK_MODIFICATIONS = True
SECRET_KEY = "jin13707297024"

# 邮箱配置
# 我们项目中用的是qq邮箱
MAIL_SERVER = "smtp.qq.com"
MAIL_PORT = 465
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_DEBUG = True
MAIL_USERNAME = "1327213545@qq.com"
MAIL_PASSWORD = "padqkffgprdthgdc"
DEFAULT_MAIL_SENDER ="1327213545@qq.com"